package nus.mtech.subscription;

import java.io.Serializable;
import java.util.Date;

public class ExtraFeature implements Serializable {
	private static final long serialVersionUID = 8862363433286064417L;

	private Date startDate;
	private Date endDate;
	private boolean activeStatus;
	private ExtraFeatureType type;

	public enum ExtraFeatureType {
		CallTransfer, Roaming, DataService, OptionalChannel
	}

	public ExtraFeatureType getType() {
		return type;
	}

	public void setType(ExtraFeatureType type) {
		this.type = type;
	}

	public boolean isActiveStatus() {
		return activeStatus;
	}

	public void setActiveStatus(boolean activeStatus) {
		this.activeStatus = activeStatus;
	}

	public ExtraFeature() {
	}

	public ExtraFeature(ExtraFeatureType type, Date startDate, Date endDate) {
		this(type,startDate,endDate,true);
	}

	public ExtraFeature(ExtraFeatureType type, Date startDate, Date endDate,
			boolean status) {
		this.startDate = startDate;
		this.endDate = endDate;
		this.activeStatus = status;
		this.type = type;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

}
